package com.jiyici.data;

import jiyici.Constant.ModelColumn;

import org.json.JSONException;
import org.json.JSONObject;

public class SimpleBaseModel {
    
    public long id;

    public long lastmodified;
    
    public void fromJson(JSONObject json) throws JSONException {
        id = json.getLong(ModelColumn.BASE_COLUMN_ID);
        lastmodified = json.getLong(ModelColumn.BASE_COLUMN_LASTMODIFIED);
    }

}
